<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/6/10
  Time: 21:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>黄山学院-留学生信息管理系统</title>
    <link rel="stylesheet" href="/css/main_style.css">
    <script src="/js/main_function.js"></script>
    <script>
        function Home() {
            var day = "";
            var month = "";
            var ampm = "";
            var ampmhour = "";
            var myweekday = "";
            var year = "";
            mydate = new Date();
            myweekday = mydate.getDay();
            mymonth = mydate.getMonth() + 1;
            myday = mydate.getDate();
            year = mydate.getFullYear();
            if (myweekday == 0)
                weekday = " 星期日 <br\><br\>自信人生二百年,<br\>会当水击三千里!";
            else if (myweekday == 1)
                weekday = " 星期一 <br\><br\>雄关漫道真如铁,<br\>而今迈步从头越!";
            else if (myweekday == 2)
                weekday = " 星期二 <br\><br\>好好学习,<br\>天天向上.";
            else if (myweekday == 3)
                weekday = " 星期三 <br\><br\>独立寒秋,<br\>湘江北去,<br\>橘子洲头.";
            else if (myweekday == 4)
                weekday = " 星期四 <br\><br\>踏遍青山人未老,<br\>风景这边独好.";
            else if (myweekday == 5)
                weekday = " 星期五 <br\><br\>牢骚太盛防肠断,<br\>风物长宜放眼量!";
            else if (myweekday == 6)
                weekday = " 星期六 <br\><br\>天若有情天亦老,<br\>人间正道是沧桑.";
            document.getElementById("dateShow").innerHTML = year + "年" + mymonth + "月" + myday + "日 " + weekday;
        }
    </script>
</head>
<body onload="Home()">
<div id="navigation">
    <div class="navigation-left"><img src="/img/school.png" style="width: 170px;height: 60px;"></img></div>
    <div class="navigation-center"><a>首页</a></div>
    <div class="navigation-right">
        <div class="drop-menu" style="float:right;">
            <div class="user-menu"></div>
            <div class="drop-menu-content">
                <a href="/logout">注销登录</a>
                <a href="/rePassword">修改密码</a>
            </div>
        </div>
    </div>
</div>
<div id="broadside">
    <div class="broadside-logo">
        <h1>欢迎学生</h1>
        <p>${student_id}</p>
    </div>
    <div class="broadside-menu">
        <p><img src="/img/home.png"/><a href="/student/home">首页</a></p>
        <p><img src="/img/manager.png"/><a href="/student/manager">信息管理</a></p>
        <p><img src="/img/vacation.png"/><a href="/student/vacation">申请事假</a></p>
        <p><img src="/img/scholarship.png"/><a href="/student/scholarship">奖学金申请</a></p>
        <p><img src="/img/message.png"/><a href="/student/message ">留言板</a></p>
    </div>
</div>
<div id="content">
    <div class="date" id="dateShow">
    </div>
    <div class="task_status">当前你各项事务的状态</div>
    <div class="vacation_status" style="background-color: #efefef;">
        <div><h1>事假审批</h1></div>
        <div id="vacation_content">
            ${student_id}的事假审批<br/><br/>
            开始时间：${vacation_begin_time}<br/>
            结束时间：${vacation_end_time}<br/>
            时长：${vacation_during_time}<br/>
            请假事由：${vacation_reason}<br/>
            目的地：${vacation_destination}<br/>
            当前审批状态：${vacation_status}
        </div>
    </div>
    <div class="burse_status" style="background-color: #efefef;">
        <div><h1>奖学金审批</h1></div>
        <div id="burse_content">
            ${student_id}的奖学金审批<br/><br/>
            申请的奖学金类型：${scholarship_type}<br/>
            申请材料：${scholarship_result}<br/>
            当前审批状态：${scholarship_status}
        </div>
    </div>
</div>
</body>
</html>
